Previous Book Contents Book Index Next

Inside Macintosh: Programming With JManager /
Chapter 2 - JManager Reference / Application-Defined Functions
/


MyShowDocument

Displays the contents of a URL passed back by an instantiated applet. This is how you would define your output function if you were to name it MyShowDocument:

void MyShowDocument (JMAppletViewerRef viewer, 
                     const char* urlString, 
                     Boolean inNewWindow);
viewer
The current applet.
urlString
The URL passed by the applet.
inNewWindow
A Boolean value. If true, you should display the URL contents in a new window; if false, you should display the URL contents in the current window.
DISCUSSION
When calling JMNewAppletViewer, you must designate this function in the applet callbacks structure.

SEE ALSO
The JMNewAppletViewer function (page 77).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
23 APR 1997